package com.lastproject.ejb.dao;

import java.util.List;

import javax.ejb.Remote;

import com.lastproject.dto.TopicDTO;
import com.lastproject.dto.TopicWithNamesDTO;

@Remote
public interface TopicDAORemote {

	void create(TopicDTO entity);

	void edit(TopicDTO entity);

	void remove(TopicDTO entity);

	TopicDTO findById(int id);

	public List<TopicDTO> findAll();

	TopicDTO findByCatAndSubcat(int id, int id2);

	List<TopicWithNamesDTO> findAllWithNames();
}
